from django.urls import path
from .views import ChapterDetailView, ChapterListView

urlpatterns = [
    path(r'course/<int:course_id>/chapters/',
         ChapterListView.as_view(), name='chapter-list'),
    path(r'course/<int:course_id>/chapter/<int:chapter_id>/',
         ChapterDetailView.as_view(), name='chapter-detail'),
]
